package com.restaurant.application.util.counter.support;

import com.nebutown.supporthome.AbstractImpl;
import com.restaurant.application.util.counter.Counter;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

public abstract class AbstractCounter extends AbstractImpl implements Counter {

    private static final Logger logger = LoggerFactory.getLogger(Counter.class);

    public final Class<?> getEffectiveInterface() {
        return Counter.class;
    }

    public Logger getLogger() {
        return logger;

    }

    private static final String privateDataType = "CounterData";

    public CounterData getData() {
        return escort.getData(CounterData.class);
    }

    public void setData(CounterData data) {
        escort.setData(data);
    }
}
